<template>
	<div class="container">
		<div class="bang">
			
		</div>
		<header class="header">
			<p class="iconfont icon-icon-"></p>
			<span>消息</span>
			<i class="iconfont icon-icon-"></i>
		</header>
		<div class="newslist">
			<ul>
				<li>
					<div class="touxiang">
						<img src=""/>
					</div>
					<div class="list">
						<div class="l-top">
							<span>sdfdff</span>
							<span style="text-align: right;">11:11</span>
						</div>
						<div class="l-bottom">
							xaxaxaxax
						</div>
					</div>

				</li>
			</ul>
		</div>

	</div>
</template>

<script>
	export default {
		name: 'News',
		data() {
			return {

			}
		},
		mounted() {
			this.$emit('toparent', this.tit)
		},
	}
</script>

<script>
	var bw = (document.documentElement.clientWidth / 37.5) + "px";     
	var htmlTag = document.getElementsByTagName("html")[0];       
	htmlTag.style.fontSize = bw;
</script>

<style scoped>
	.bang{
		background: blanchedalmond;
		width:100%;
		height: 3.67rem;

	}
	
	.header {
		width: 100%;
		height: 3.7rem;
		line-height: 3.7rem;
		background-color: rgba(223, 223, 223, 1);
		text-align: center;
		display: flex;
		padding: 0 2rem;
		justify-content: space-between;
		align-items: center;
		box-sizing: border-box;
	}
	
	.header p {
		height: 2.2rem;
		width: 2.2rem;
		font-size: 1.4rem;
		line-height: 2rem;
		text-align: center;
	}
	
	.header span {
		
		width: 8rem;
		height: 2.4rem;
		line-height: 2rem;
		background-color: rgba(255, 255, 255, 0);
		color: rgba(100, 100, 100, 1);
		font-size: 1.4rem;
		text-align: center;
		font-family: Arial;
	}
	
	.header i {
		height: 2.4rem;
		width: 2.4rem;
		font-size: 1.4rem;
		line-height: 2rem;
		text-align: center;
	}
	
	.newslist li {
		height: 7rem;
		width: 100%;
		border-bottom: 0.08rem solid #eee;
		box-sizing: border-box;
		display: flex;
		padding: 0 2rem;
		justify-content: space-between;
		align-items: center;
	}
	
	.touxiang {
		height: 4rem;
		width: 4rem;
		border-radius: 50%;
		background: #eee;
	}
	
	.list {
		height: 4rem;
		width: 23rem;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}
	
	.l-top {
		height: 2rem;
		width: 23rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.l-bottom {
		height: 2rem;
		width: 23rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
		line-height: 2rem;
		color: rgba(166, 164, 164, 1);
		font-size: 1.3rem;
		text-align: left;
		font-family: Arial;
	}
	
	.l-top span {
		width: 7.17rem;
		height: 1.75rem;
		line-height: 1.67rem;
		color: rgba(113, 112, 112, 1);
		font-size: 1.57rem;
		text-align: left;
		font-family: Microsoft Yahei;
	}
	
	
</style>